package com.org.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.org.model.Conferenceroom;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author test
 * @since 2021-06-05
 */
public interface IConferenceroomService extends IService<Conferenceroom> {
    public List<Map<String,Object>> selectAllRoom();

    public IPage<Conferenceroom> selectIsUsePage(Page<Conferenceroom> page);

    public String getRoomName(Integer id);

    public Conferenceroom getByCid(Integer cid);

    public Conferenceroom getIdByName(String name);

    public List<Conferenceroom> getRoomByCount(Integer count);

}
